package com.shootingGame.mapClasses
{
	import flash.display.MovieClip;
	
	//This class (or a derivative) is linked to a movieclip in the fla.
	//Saves us code to prepare all the tiles and name them over there.
	public class TileSet extends MovieClip
	{
		
		public function TileSet()
		{
		}
		
		virtual public function getTileObject(id : int) : TileObject {
			return new TileObject(getChildByName("tile" + id.toString()) as MovieClip);
		}

	}
}